﻿using PureMVC.Patterns.Proxy;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Timers;
using System;

public class MyData
{
    public string time;
}

/// <summary>
/// 代理
/// </summary>
public class MyProxy : Proxy
{
    public new const string NAME = "MyProxy";
    public MyData myData=null;
    public MyProxy( ) : base(NAME)
    {
        myData = new MyData();
    }
    public void Addnum()
    {
        myData.time = DateTime.Now.ToString();
        SendNotification("Add", myData);
    }
}
